package com.xxxy.service.impl;

import com.xxxy.dubboapi.HelloService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Value;

@DubboService
public class HelloServiceImpl implements HelloService {

    @Value("${server.port}")
    private String serverPort;
    @Override
    public String hello() {
        return "hello nacos, serverPort:" +serverPort;
    }
}
